package com.bins.dentist.clinic.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.bins.dentist.clinic.model.dto.UserDto;
import com.bins.dentist.clinic.model.dto.UserPageDto;
import com.bins.dentist.clinic.entity.UserEntity;
import com.bins.dentist.clinic.model.vo.UserVo;
import org.springframework.security.core.userdetails.UserDetailsService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author bins
 * @since 2023-02-20 20:53:31
 */
public interface UserService extends IService<UserEntity>, UserDetailsService {

    IPage getPage(UserPageDto pageDto);

    UserVo saveUser(UserDto dto);

    UserVo userDetail(UserDto dto);

    UserVo deleteUser(UserDto dto);

    UserVo refreshCache(UserDto dto);

    UserVo offlineUser(UserDto dto);

    UserVo resetPassword(UserDto dto);

    UserVo updateLockStatus(UserDto dto);
}
